import { combineReducers } from 'redux-immutable';
import { reducer as leftNavReducer } from '../components/LeftNav/store';
import { reducer as loginReducer } from '../pages/Login/store';
import { reducer as homeReducer } from '../pages/Home/store';
import { reducer as userReducer } from '../pages/User/store';
import { reducer as articleReducer } from '../pages/Article/store';

// reducer 集合
const reducers = combineReducers({
  leftNav: leftNavReducer,
  login: loginReducer,
  home: homeReducer,
  user: userReducer,
  article: articleReducer
});

export default reducers;